﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using HPCERP.Model;

namespace HPCERP.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IBankService" in both code and config file together.
    [ServiceContract]
    public interface IBankService
    {
        [OperationContract]
        Bank[] GetList(UserLogin userLogin);

        [OperationContract]
        void Insert(Bank bank, UserLogin userLogin);

        [OperationContract]
        void Update(Bank bank, UserLogin userLogin);

        [OperationContract]
        void Delete(int id, UserLogin userLogin);

    }
}
